import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
// import './common/style'
// import postcss from "../"

// 修改 跟节点字体大小， （可以 使用 手动监听屏幕宽度变化 改变根节点字体大小 或 媒体查询 替换 此框架）
import 'lib-flexible'

// 初始化样式 放在 其他样式 之前
import './common/style/base.scss'

//导入qqsdk
import { QC } from '@/libs/qc_jssdk.js'

//引入导航组件

import {
    List,
    Grid,
    Button,
    GridItem,
    Card,
    Tabbar,
    TabbarItem,
    Icon,
    Swipe,
    SwipeItem,
    Image as VanImage,
    Field,
    Toast,
    SwipeCell,
    Checkbox,
    Stepper,
    SubmitBar,
    PullRefresh,
    GoodsAction,
    GoodsActionIcon,
    GoodsActionButton,
    Dialog,
    Sku,
    Popup
} from 'vant';
Vue.use(Button).use(Grid).use(GridItem).use(Card).use(Tabbar).use(TabbarItem).use(Icon).use(Swipe).use(SwipeItem)
    .use(VanImage).use(Field).use(Toast).use(Sku).use(Dialog).use(Popup).use(GoodsAction).use(GoodsActionIcon).use(GoodsActionButton).use(List).use(SwipeCell).use(PullRefresh).use(Checkbox).use(Stepper).use(SubmitBar)

Vue.config.productionTip = false;

//引入全局字体图标
import './assets/iconfont/iconfont.css'

//全局挂载 QQ
Vue.prototype.$QQ = QC

new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");